package com.itheima.visitor.dispatch.dynamic_dispatch;

/**
 * @author zzw
 * @date 2025/10/26
 * @description 动态分派
 */
public class Cat extends Animal {
    @Override
    public void execute() {
        System.out.println("cat");
    }
}
